package com.ruoyi.material.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.material.domain.OutboundOrder;

/**
 * 出库Service接口
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
public interface IOutboundOrderService 
{
    /**
     * 查询出库
     * 
     * @param id 出库主键
     * @return 出库
     */
    public OutboundOrder selectOutboundOrderById(Long id);

    /**
     * 查询出库列表
     * 
     * @param outboundOrder 出库
     * @return 出库集合
     */
    public List<OutboundOrder> selectOutboundOrderList(OutboundOrder outboundOrder);

    /**
     * 新增出库
     * 
     * @param outboundOrder 出库
     * @return 结果
     */
    public int insertOutboundOrder(OutboundOrder outboundOrder);

    /**
     * 修改出库
     * 
     * @param outboundOrder 出库
     * @return 结果
     */
    public int updateOutboundOrder(OutboundOrder outboundOrder);

    /**
     * 批量删除出库
     * 
     * @param ids 需要删除的出库主键集合
     * @return 结果
     */
    public int deleteOutboundOrderByIds(Long[] ids);

    /**
     * 删除出库信息
     * 
     * @param id 出库主键
     * @return 结果
     */
    public int deleteOutboundOrderById(Long id);

    int deleteOutboundOrderByOutboundNo(Long[] outboundNo);

    AjaxResult changeStatus(Long id);
}
